<li class="list-group-item clearfix theme-edit-item" data-code="theme_edit_item_{{ pendant.code }}" id="{{ pendant.id }}">
  <div class="col-md-4 ">
    <span class="glyphicon glyphicon-move edit-sort"></span>
    <label>
      <input type="checkbox" class="check-block" {% if isChoiced|default(null) %}checked{% endif %}><span class="default-title">{{ pendant.defaultTitle }}</span>
    </label>
  </div>
  <div class="col-md-4">
    &nbsp;{% if pendant.title|default(null) %}{{ pendant.title }}{% else %}{{ pendant.defaultTitle }}{% endif %}
  </div>
  <div class="col-md-3"></div>
  <div class="col-md-1">
    {% if pendant.code not in ['login-box']%}
      {% if pendant.code != 'middle-banner' %}
        <button class="btn btn-primary btn-sm item-edit-btn" {% if not isChoiced|default(null) %}style="display:none;"{% endif %} data-title="Edit" data-toggle="modal" data-target="#modal" data-url="{{path('admin_themes_config_edit', {uri:uri|default(null),config:pendant})}}"><span class="glyphicon glyphicon-pencil"></span> 编辑</button>
      {% elseif pendant.code == 'middle-banner' %}
        <a href="{{path('admin_block', {category:'theme'|default('all')})}}" target="_blank" class="btn btn-primary btn-sm item-set-btn" {% if not isChoiced|default(null) %}style="display:none;"{% endif %}><span class="glyphicon glyphicon-wrench"></span> 设置</a>
      {% endif %}
    {% endif %}
  </div>
</li>